package com.dooioo.fangyou.common.page;

import java.util.List;
public interface PageList 
{
	public final static String CURRENT_PAGE="currentPage"; 
	/**
	 * @return
	 */
	public int getCurrentPage();

	/**
	 * @return
	 */
	public boolean isDown();

	/**
	 * @return
	 */
	public boolean isNew();

	/**
	 * @return
	 */
	public boolean isUp();

	/**
	 * @return
	 */
	public List getList();

	/**
	 * @return
	 */
	public int getPageNum();

	/**
	 * @return
	 */
	public int getTotalNum();

	/**
	 * @return
	 */
	public int getTotalPage();

	/**
	 * @param i
	 */
	public void setCurrentPage(int i);

	/**
	 * @param b
	 */
	public void setNew(boolean b);

	/**
	 * @param list
	 */
	public void setList(List list);

	/**
	 * @param i
	 */
	public void setPageNum(int i);

	/**
	 * @param i
	 */
	public void setTotalNum(int i);

	/**
	 * 
	 * @return int
	 */
	public int getBeginNum();
	/**
	 * 
	 * @return int
	 */
	public int getEndNum();

	/**
	* @param request
	*/
	public boolean isNew(String page);
	
}
